From bf19240f999db9f8c6eb90399cffc325d055af82 Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Wed, 18 Jun 2014 17:12:53 +0100 Subject: [PATCH] hvm: add HVM_PARAM_VM_GENERATION_ID_ADDR HVM_PARAM_VM_GENERATION_ID_ADDR is the guest physical address of the VM Generation ID. This parameter will be written by hvmloader and read by the toolstack when updating the gen. ID (e.g., after restoring from a snapshot). A HVM parameter is easier for the save/restore code to work with (than a XenStore key). Signed-off-by: David Vrabel Acked-by: Ian Campbell Acked-by: Jan Beulich --- xen/include/public/hvm/params.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/include/public/hvm/params.h b/xen/include/public/hvm/params.h index f830bdd4ad..614ff5f2b4 100644 --- a/xen/include/public/hvm/params.h +++ b/xen/include/public/hvm/params.h @@ -148,6 +148,9 @@ #define HVM_PARAM_IOREQ_SERVER_PFN 32 #define HVM_PARAM_NR_IOREQ_SERVER_PAGES 33 -#define HVM_NR_PARAMS 34 +/* Location of the VM Generation ID in guest physical address space. */ +#define HVM_PARAM_VM_GENERATION_ID_ADDR 34 + +#define HVM_NR_PARAMS 35 #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ -- 2.30.2